package com.atguigu.yygh.vo.hosp;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalTime;
import java.util.Date;
import java.util.List;

@Data
@ApiModel(description = "order")
public class OrderVo {

	@ApiModelProperty(value = "学生姓名")
	private String name;

	@ApiModelProperty(value = "学生id")
	private String studentId;

	@ApiModelProperty(value = "手机号")
	private String phone;

	@ApiModelProperty(value = "宿舍号")
	private String apartmentCode;

	@ApiModelProperty(value = "寝室号")
	private String chamberCode;

	@ApiModelProperty(value = "问题描述")
	private String description;

	@ApiModelProperty(value = "预约日期")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@TableField("date")
	private String date;



	@ApiModelProperty(value = "问题图片")
	@TableField("image_url")
	private String imageUrl;
}

